﻿{include file="common/header" /}
<!-- 中间区域 -->

<div class="top_box">
	<div class="layui-main block1">
		<div class="t2">{$catInfo.keywords}</div>
		<div class="t1">{$catInfo.title}</div>
	</div>
	<div class="img1 img_100">
		<img class="" src="{$catInfo.logo}">
	</div>
</div>
<main>
	<section>
		<div class="layui-main">

			<div class="mb50">
				<p class="text-align-center mb26 ft26 ft-bold">{$article.title}</p>
				<div class="gary_c9 flex-center layui-col-space12">
					{if $article.keywords}
					<span>{$article.keywords}</span>{/if}
					<span>发布时间：<?=date("Y-m-d h:i",strtotime($article['create_at']))?></span>
				</div>
				<div class="img_box mt50">
					<img src="{$article.logo}">
				</div>
				<div class="s_content ft20 mt60 gary_c6 line2">
					{$article.content|raw|nl2br}
				</div>
			</div>
			<div class="mt89 ft20">
				{if $prev}<div class="mb20"><a href="/index/Article/show/id/{$prev.id}/cat_id/{$prev.cat_id}">上一篇：
						{$prev.title}</a></div>{/if} <!-- 当前内容的上一篇 -->
				{if $next}<div class="mb20"><a href="/index/Article/show/id/{$next.id}/cat_id/{$next.cat_id}">下一篇：
						{$next.title}</a></div>{/if} <!-- 当前内容的下一篇 -->

			</div>
		</div>
	</section>
</main>

<script src="__ROOT__/public/home/js/index.js"></script>

<!-- 中间区域结束 -->
{include file="common/footer" /}